import { FormProps, FormSchema } from '/@/components/Table';
import { BasicColumn } from '/@/components/Table/src/types/table';

export function getBasicColumns(): BasicColumn[] {
  return [
    {
      title: '产品图片',
      dataIndex: 'address',
      width: 300,
    },
    {
      title: '产品名称',
      dataIndex: 'name',
      width: 300,
    },
    {
      title: '销售金额',
      dataIndex: 'age',
      width: 150,
    }
   
  ];
}

export function getBasicData() {
  const data: any = (() => {
    const arr: any = [];
    for (let index = 0; index < 10; index++) {
      arr.push({
        id: `${index}`,
        name: 'John Brown',
        age: `1${index}`,
        address: 'New York No. 1 Lake ParkNew York No. 1 Lake Park',
      });
    }
    return arr;
  })();
  return data;
}

